import { ApiProperty, PartialType } from '@nestjs/swagger';
import { CreateInformDto } from './create-inform-dto';
import { IsNotEmpty } from 'class-validator';

export class UpdateInformDto extends PartialType(CreateInformDto) {
  @IsNotEmpty({
    message: 'id 不能为空',
  })
  @ApiProperty({ description: '消息id', required: true })
  id: number;
}
